function ccR_Paladin_Aura()
	return GetShapeshiftForm()
end

function ccR_Paladin_SealSwitching(specNumber)
	if specNumber == nil then specNumber = ccrPlayerSpec() end
	local vUseSealSwitching = ccRS["Paladin_" .. specNumber .. "_UseSealSwitching"]	
	local vSealOfTruth = ccRS["Paladin_" .. specNumber .. "_SoT"]
	local vSealOfRighteousness = ccRS["Paladin_" .. specNumber .. "_SoR"]

	if ccrPlayerLevel() < 42
	or not vUseSealSwitching
	then
		-- Seal of Truth if Missing
		if ccR_Paladin_Aura() ~= 1 then
			ccrCast(SEAL_OF_TRUTH)
			return
		end
	else

		-- Seal Switching
		local vCount = ccrTargetCount(12)		
		-- Seal of Truth
		if vCount < vSealOfTruth
		and ccR_Paladin_Aura() ~= 1
		then
			ccrCast(SEAL_OF_TRUTH)
			return
		end

		-- Seal of Righteousness
		if vCount >= vSealOfRighteousness
		and ccR_Paladin_Aura() ~= 2
		then
			ccrCast(SEAL_OF_RIGHTEOUSNESS)
			return
		end
	end
end

